package com.qzsoft.zhjd.machine.modules.machinereport.dto;

import java.math.BigDecimal;

import com.qzsoft.jeemis.common.annotation.Dict;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @ClassName MachineReportMaintenanceDto
 * @Description 设备维修保养
 * @author linhuawei
 * @since 2021-11-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ToString
public class MachineReportMaintenanceDto {

    /**
     * 设备主键
     */
    private String machineId;

    /**
     * 机械名称
     */
    private String machineName;

    /**
     * 机械类型
     */
    @Dict(dicCodeField = "machineType", dictCodeId = "MACHINE_TYPE")
    private String machineType;

    /**
     * 机械一级分类
     */
    @Dict(dicCodeField = "machineCategory1", dictCodeId = "MACHINE_CATEGORY")
    private String machineCategory1;

    /**
     * 机械二级分类
     */
    @Dict(dicCodeField = "machineCategory2", dictCodeId = "MACHINE_CATEGORY")
    private String machineCategory2;

    /**
     * 机械品牌
     */
    @Dict(dicCodeField = "machineBrand", dictCodeId = "MACHINE_BRAND_MODEL")
    private String machineBrand;

    /**
     * 机械型号
     */
    @Dict(dicCodeField = "machineModel", dictCodeId = "MACHINE_BRAND_MODEL")
    private String machineModel;

    /**
     * 维修费用
     */
    private BigDecimal repairAmount;

    /**
     * 维修次数
     */
    private Integer repairCount;

    /**
     * 保养费用
     */
    private BigDecimal maintainAmount;

    /**
     * 保养次数
     */
    private Integer maintainCount;
    
    /**
     * 汇总费用
     */
    private BigDecimal amount;

}
